home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 2⁄9⁄90 / 0636-Re[2] UnloadAllSegs-Feb90 < prev    next >
Encoding:
Text File  |  1990-02-09  |  994 b   |  28 lines  |  [TEXT/GEOL]

  1. Item forwarded  by  A33          to A34
  2.  
  3. Item    8753981                         8-Feb-90        13:18PST
  4.  
  5. From:   D4695                           Skywalker Sys, Scott Collins,PRT
  6.  
  7. To:     MACAPP.TECH$                    MacApp Technical
  8.         ROSENSTEIN1                     Rosenstein, Larry
  9.  
  10. Sub:    Re: re UnloadAllSegs
  11.  
  12. Hello,
  13.  
  14.     Right.  %_BP et. al are not the answer.  It should be routines of your own.
  15. Additionally, the calls don't need to exist in every procedure/function.  Only
  16. in routines that call other routines in a different segment.
  17.  
  18.     It is too late to do this by link time, but a preprocessor that examines a
  19. database of routine:segment mappings can insert the appropriate calls in the
  20. appropriate routines before a compile.
  21.  
  22.     Building the database and running the preprocessor are expensive so I don't
  23. do it every build.  I do it about once a week to make sure everything is still
  24. working correctly and on any to_be_shipped build.
  25.  
  26.     -- Scott Collins
  27.  
  28.